<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // 出现了精度丢失
      // const bigInt = 1234567890123456789012345678901234567890;
      // 大整数
      const bigInt = 1234567890123456789012345678901234567890n;

      console.log(bigInt);
    </script>
  </body>
</html>
